]> dgit.raspbian.org Git - gnome-shell.git/commit
st-icon: check if gicon is null before unref.
authorAlban Browaeys <prahal@yahoo.com>
Thu, 25 Apr 2013 16:25:12 +0000 (18:25 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Thu, 2 May 2013 07:51:32 +0000 (09:51 +0200)
commite96d9e0ea1bb4043012890b0cdb69fbf2b7bc911
tree2e5c1f2c1f74fc72e5b3e78ffa597716fa8f9646
parented63bda932de47596be3350ab49c43f0bbffe178
st-icon: check if gicon is null before unref.

Commit a6b49fe7d6c9bcd8a2be47a0b0b44cf9a53a45aa
introduced a check for equality of priv->gicon vs gicon
and unref then return early if so. But if both are null,
we should not unref gicon. Only return.

https://bugzilla.gnome.org/show_bug.cgi?id=698863
src/st/st-icon.c